//
//  SpritesLayer.h
//  AngerDragon
//
//  Created by gaotime_macbook_2 on 11-12-4.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "TYPlayer.h"

@interface ScreenSpritesLayer : CCLayer {
	/// 可被player攻击的精灵集合
	CCArray *m_p_can_be_attacked_sprite_array;
	/// 不可被player攻击的精灵集合
	CCArray *m_p_not_can_be_attacked_sprite_array;
	/// 屏幕上存在的道具集合
	CCArray *m_p_props_array;
	/// 敌人子弹集合
	CCArray *m_p_enemy_bullet_array;
	/// player子弹集合
	CCArray *m_p_player_bullet_array;
	
	/// 需要在屏幕上保存的精灵尸体集合
	CCArray *m_p_sprite_bones_array;
	
	
	/// player
	//TYPlayer *m_p_player;
}

@property (assign) CCArray *m_p_can_be_attacked_sprite_array;
@property (assign) CCArray *m_p_not_can_be_attacked_sprite_array;
@property (assign) CCArray *m_p_props_array;
@property (assign) CCArray *m_p_enemy_bullet_array;
@property (assign) CCArray *m_p_player_bullet_array;
@property (assign) CCArray *m_p_sprite_bones_array;

@property (assign) TYPlayer *m_p_player;

/// 单例
+ (ScreenSpritesLayer *) sharedScreenSpritesLayer;
@end
